<template>
  <div>
    <h2>homedata</h2>
    <h1>{{homes}}</h1>
  </div>
</template>

<script>
import {homedata} from "../../network/home";

homedata({
  url:"homedata",
  method:"post",

}).then(data=>{
  if (data.data!=null){
    console.log("hhhhhhhhhhh");
    this.users=data.data;
    alert("dddddddd");
    this.homes=data.data;
  }
}).catch(data=>{
  console.log(data);

})

export default {
  name: "Homedata",
  data(){
    return{
      homes:[],
    }
  }
}
</script>

<style scoped>

</style>
